<%@ page language="java" contentType="text/html; charset=UTF-8" import="org.windblog.core.entity.*,java.util.*,org.windblog.core.*"  pageEncoding="UTF-8"%>
		<jsp:include page="header.jsp"></jsp:include>
		<jsp:include page="sidebar.jsp"></jsp:include>
		<script type="text/javascript">
			$(function(){
				// Accordion
				$("#accordion").accordion("activate",2);
				$("#link_add").prepend(">");
				$("#publish").button();
			});
		</script>

		<div id="content">
			<h2>Add New Link</h2>
			<hr/>
			<div id="addLinkForm" style="float:left;padding:20px;width:100%"> 
				<form action="addlink" method="post" style="margin:10px 20px">
					Link Name<br/>
					<input type="text" name="name" /><br/>
					Web Address<br/>
					<input type="text" name="url" /><br/>
					Description<br/>
					<textarea name="description" rows="5" cols="30"></textarea><br/>
					<fieldset style="padding:5px;width:20em;"><legend>Target</legend>
					<label for="link_target_blank" >
					<input id="link_target_blank" type="radio" name="target" value="_blank"  />
					<code>_blank</code></label><br />
					<label for="link_target_top" >
					<input id="link_target_top" type="radio" name="target" value="_top"  />
					<code>_top</code></label><br />
					<label for="link_target_none" >
					<input id="link_target_none" type="radio" name="target" value=""  />
					none</label>
					</fieldset><br/>
					<label for="link_private" >
					<input id="link_private" name="visible" type="checkbox" value="N"  /> Keep this link private</label><br/>
					<input id="submit" type="submit" value="Add Link" /> 
				</form>
			</div> 
		</div>
		
		<jsp:include page="footer.jsp"></jsp:include>
